<!DOCTYPE html>
<html lang="en">

  <head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>JSONP的使用</title>
  </head>

  <body>

  </body>
  <script>
    function fn() {
      console.log("fn函数被调用了");
    }
  </script>
  <!-- 1.将非同源服务器请求放在script标签的script里面 -->
  <script src="http:localhost:7000/test"></script>

</html>